cmake_minimum_required(VERSION 3.12)
project(test_hello)

set(CMAKE_CXX_STANDARD 14)

#指定lib目录
link_directories(lib)

add_executable(test_hello main.cpp)

#引用共享库
target_link_libraries(test_hello libhello.dll)